package com.suyuan.service;

import com.github.pagehelper.PageInfo;
import com.suyuan.entity.CarInfo;
import com.suyuan.entity.CompanyInfo;
import com.suyuan.entity.TransitBatchInfo;
import com.suyuan.entity.TransportRouteInfor;
import com.suyuan.vo.TransitBatchInfoVO;
import com.suyuan.web.Page;

import java.util.List;

/**
 * Created by yang on 2018/1/30.
 */
public interface TransitBatchInfoService {

    List<TransitBatchInfoVO> list();

    int delete(Integer id);

    int insert(TransitBatchInfo transitBatchInfo);

    List<TransportRouteInfor> getRoutes();

    List<CarInfo> getCars();

    List<CompanyInfo> getCompanies();

    PageInfo inquiry(String batchId, String routeId, Page page);

    TransitBatchInfo findById(Integer id);

    int update(TransitBatchInfo batchInfo);
}
